using System;
using System.Collections.Generic;
using MagicApp.Data;
using MagicApp.Testing;

namespace MagicApp.Services
{
    public class GameEngine : IGameEngine
    {
    	private Game currentGame;
    	
		public Game CurrentGame {
			get { return currentGame; }
		}
        private IDeckEngine de;
        
		public IDeckEngine De {
			get { return de; }
		}
        private IGameService gs;
        
		public IGameService Gs {
			get { return gs; }
		}
        public GameEngine(IDeckEngine de, IGameService gs)
        {
            this.de = de;
            this.gs = gs;
        }

        public Card GetTopCardFromGraveyard()
        {
            throw new System.NotImplementedException();
        }

        public void CreateGame(string gameName, IList<PlayerEntity> players)
        {
        	this.currentGame = new Game(gameName,System.Guid.NewGuid(),players);
        }

        public void PlayCardFromHand(User u1, Card card)
        {
            throw new System.NotImplementedException();
        }

        public void SendCardToGraveyard(Card card)
        {
            throw new System.NotImplementedException();
        }

        public CardsInPlayList GetCardsInPlayList
        {
            get { throw new System.NotImplementedException(); }
        }
    	
		public void CreateGame(string s, IList<User> users, IList<Deck> decks)
		{
			throw new NotImplementedException();
		}
    }
}
